<?php
include 'XSocial.php';
$xsocial = new XSocial();
//the root path for xsocial
$xsocial->webRoot = "";
//set platform name,see support platform list http://code.google.com/p/xsocial/wiki/SupportPlatform
$xsocial->platform = XSocial::GREE;

$debug = true;
//set params need for platform authentication

$xsocial->platParams = array(
            'consumer_key' => '',
            'consumer_secret' => '',
            'api.endpoint_url' =>'http://os-sb.gree.jp/api/rest',
        );


//the url of App
$xsocial->appIframeUrl = 'http://localhost/xsocial/sample/index.php';//?uid='.$_REQUEST['opensocial_owner_id'];

//use for communication between XSocial and App
$xsocial->secretKey = 'app_test';

//begin output html content
$xsocial->service();
